#include <stdio.h>

int main(int argc, char const *argv[])
{
    FILE *fp;
    char ch;
    char *filename;

    printf("please input the filename you want read.\n");
    scanf("%s", filename);

    fp = fopen("/etc/hosts", "r");
    while(ch!=EOF){
    	ch=fgetc(fp);
    	putchar(ch);
    }
    fclose(fp);

    return 0;
}